Some clarifications in my reproduce steps about the state of the rsync remote
authorluciusf <luciusf@web>
Sun, 26 Jan 2025 11:29:02 +0000 (11:29 +0000)
committeradmin <admin@branchable.com>
Sun, 26 Jan 2025 11:29:02 +0000 (11:29 +0000)
doc/bugs/rsyncurl_without___34____58____34___creates_local_folder_as_remote.mdwn

index 66efa94874c3f728d1e511f2384727a1d473487b..dfd518403df82b8cd213bbd7800f8787e0513f02 100644 (file)
@@ -30,12 +30,12 @@ git annex initremote myremote type=rsync rsyncurl=ssh.example.com: encryption=hy
 git annex copy . --to myremote
 ```
 
-This however, creates a local folder named `ssh.example.com` in my annexed directory:
+This however, doesn't copy to the correct remote, but creates a local folder named `ssh.example.com` in my annexed directory instead (note the missing `:` after the hostname):
 
 ```
 git annex initremote myremote type=rsync rsyncurl=ssh.example.com encryption=hybrid keyid=00001111222233334444
 git annex copy . --to myremote       # will copy successfully, BUT
-ls -l                                # shows the folder `ssh.example.com` in my directory
+ls -l                                # shows the folder `ssh.example.com` in my directory with the files in it, the rsync remote is empty
 ```
 
 ### What version of git-annex are you using? On what operating system?